package com.demo.interfaces;

import java.io.Serializable;

import com.hashimoto.core.util.CopyUtil;

public class User{

	//private static final long serialVersionUID = 3748924318965027300L;
	
	private String username;
	private String password;
	private int age;
	private String descript;
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getDescript() {
		return descript;
	}
	public void setDescript(String descript) {
		this.descript = descript;
	}
	
	public static void main(String[] args) {
		User user = new User();
		user.setAge(18);
		user.setDescript("aaaaaaaaa");
		user.setPassword("bbbbbbbbbbbbbb");
		user.setUsername("ababab");
		
		long startTime = System.currentTimeMillis();
		for(int i=0;i<10000000;i++) {
			User copy = CopyUtil.copy(user);
		}
		System.out.println(System.currentTimeMillis() - startTime);
	}

}
